private ["_startLocation", "_uh60p", "_vec"];

_startLocation = _this select 0;

_jump_helo = switch (playerSide) do {
	case east: {"Mi17_rockets_RU"};
	case west: {"MH60S"};
};

titleText ["","Plain"];
_uh60p = createVehicle [_jump_helo, _startLocation, [], 0, "FLY"];
_uh60p setpos [_startLocation select 0,_startLocation select 1, 1200];
_uh60p engineon true;
player moveincargo _uh60p;
_obj_jump = player;
if(vehicle player == player)exitWith {};

_obj_jump setvelocity [0,0,0];
_obj_jump action["EJECT",vehicle _obj_jump];
if (vehicle _obj_jump isKindOf "ParachuteBase") then {
	_vec = vehicle _obj_jump;
	_obj_jump action["EJECT",vehicle _obj_jump];
	deleteVehicle _vec;
};
[_obj_jump, position _obj_jump select 2] execVM "scripts\HALO\HALOFall.sqf";

sleep 5;

deleteVehicle _uh60p;
